Method ToRootListAsync()

Assembly: redb.Core.dll

Execute query and get list of root tree nodes.
Loads objects + all their parents to root, establishes relationships and returns roots.
Children contain only objects from loaded chain (not all children from DB).
Supports polymorphic trees - each object of its own type via ITreeRedbObject.

Task<List<ITreeRedbObject>> ToRootListAsync()